<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>

<div class="title">
	<s:label cssClass="current fl" key="manager.infoEdit.title" />
	<s:a href="/manager/home.html" cssClass="back fr">[<s:text name="common.button.back" />]</s:a>
	<div class="clear"></div>
	<hr class="title" />
</div>

<s:form action="doInfoEdit" theme="simple" method="post">
	<s:hidden name="userBeanPage.userId" />
	<s:token />
	<s:actionerror />
	<div class="table">
		<div class="row">
			<div class="cell-label"><s:text name="manager.infoEdit.userName" />:</div>
			<div class="cell-text">
				<s:textfield label="用户名" name="userBeanPage.userName" cssClass="w240" disabled="true" />
				<s:hidden name="userBeanPage.userName" />
			</div>
			<div class="cell-desc">
				<div class="fieldError">
					<s:fielderror theme="simple" fieldName="msg.userName" />
				</div>
			</div>
		</div>
		<div class="row">
			<div class="cell-label"><s:text name="manager.infoEdit.nickName" />:</div>
			<div class="cell-text">
				<s:textfield label="昵称" name="userBeanPage.nickName" cssClass="w240" />
			</div>
			<div class="cell-desc">
				<div class="fieldError">
					<s:fielderror fieldName="msg.nickName" />
				</div>
			</div>
		</div>
		<div class="row">
			<div class="cell-label"><s:text name="manager.infoEdit.mail" />:</div>
			<div class="cell-text">
				<s:textfield label="邮箱" name="userBeanPage.mail" cssClass="w240" />
			</div>
			<div class="cell-desc">
				<div class="fieldError">
					<s:fielderror fieldName="msg.mail" />
				</div>
			</div>
		</div>
		<div class="row">
			<div class="cell-label"><s:text name="manager.infoEdit.age" />:</div>
			<div class="cell-text">
				<s:select label="年龄" name="userBeanPage.age" list="ageList" cssClass="w240" />
			</div>
		</div>
		<div class="row">
			<div class="cell-label"><s:text name="manager.infoEdit.sex" />:</div>
			<div class="cell-text">
				<s:select label="性别" name="userBeanPage.sex" list="sexMap" listKey="key" listValue="value" cssClass="w240" />
			</div>
		</div>
		<div class="row">
			<div class="cell-label"><s:text name="manager.infoEdit.defLangId" />:</div>
			<div class="cell-text">
				<s:select label="默认语言" name="userBeanPage.defLangId" list="langList" listKey="langId" listValue="description" cssClass="w240" />
			</div>
		</div>
		<div class="row">
			<div class="cell-label"><s:text name="manager.infoEdit.mobile" />:</div>
			<div class="cell-text">
				<s:textfield label="手机号码" name="userBeanPage.mobile" cssClass="w240" />
			</div>
			<div class="cell-desc">
				<s:fielderror fieldName="msg.mobile" />
			</div>
		</div>
		<div class="row">
			<div class="cell-label"><s:text name="manager.infoEdit.address" />:</div>
			<div class="cell-text">
				<s:textarea label="地址" name="userBeanPage.address" rows="3" cssClass="w240" />
			</div>
			<div class="cell-desc">
				<div class="fieldError">
					<s:fielderror fieldName="msg.address" />
				</div>
			</div>
		</div>
		<div class="row">
			<div class="cell-label"><s:text name="manager.infoEdit.description" />:</div>
			<div class="cell-text">
				<s:textarea label="自我描述" name="userBeanPage.description" rows="4" cssClass="w240" />
			</div>
			<div class="cell-desc">
				<div class="fieldError">
					<s:fielderror fieldName="msg.description" />
				</div>
			</div>
		</div>
		<div class="row">
			<div class="cell-label"><s:text name="manager.infoEdit.remark" />:</div>
			<div class="cell-text">
				<s:textarea label="备注" name="userBeanPage.remark" rows="4" cssClass="w240" />
			</div>
			<div class="cell-desc">
				<div class="fieldError">
					<s:fielderror fieldName="msg.remark" />
				</div>
			</div>
		</div>
		<div class="row">
			<div class="cell-label"></div>
			<div class="cell-button">
				<s:submit name="save" method="save" key="common.button.save" cssClass="button3" />
			</div>
			<div class="cell-desc"></div>
		</div>
	</div>
</s:form>